package org.jeecg.modules.report.service;


import org.jeecg.modules.report.vo.BaseProject;
import org.jeecg.modules.system.entity.SysDepart;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Description: 物业基础信息模块
 * @Author: liur
 * @Date:   2019-08-15
 * @Version: V1.0
 */
@FeignClient("CIM-BASEDATA")
public interface IBaseDataService {

	@RequestMapping(value = "/api/basedata/findProjectList",method = RequestMethod.POST)
	List<BaseProject> findProjectList(@RequestParam("userId") String userId, @RequestHeader("tenantId") String tenantId);

	@RequestMapping(value = "/api/basedata/getProjectById",method = RequestMethod.POST)
    BaseProject getProjectById(@RequestParam("projectId") String projectId,@RequestHeader("tenantId") String tenantId);

	@RequestMapping(value = "/api/basedata/findProjectAll",method = RequestMethod.POST)
	List<BaseProject> findProjectAll();
}
